package Day02;

public class Text1 {
    public static void main(String[] args) {
        //正序打印123
        print(123);
    }
  public static void print(int n){
        if(n < 10){
            System.out.println(n);
            return;
        }
        print(n /10);
      System.out.println(n % 10);
  }
}
